cmake_minimum_required(VERSION 2.8)

project(Calc)

file(GLOB_RECURSE  Calc_SOURCE_FILES ./*.* )

include_directories(${OPENCL_INCLUDE_DIRS}
	./include ../CLW/include)

add_library(${PROJECT_NAME} STATIC ${Calc_SOURCE_FILES})

target_link_libraries(${PROJECT_NAME} ${OPENCL_LIBRARIES})
add_dependencies(${PROJECT_NAME} CLW)
SET(LIBRARY_OUTPUT_PATH  ${PROJECT_BINARY_DIR}/../)